package com.app.model;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("lm_military_new_sports")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class MilitarySportsNewModel {
    @TableId(type = IdType.AUTO)
    @ExcelIgnore
    private Integer id;
    @ExcelIgnore
    private Integer departmentId;//单位id

    @ExcelProperty(index = 0, value = "序号")
    private Integer number;
    @ExcelProperty(index = 1,value = "单位")
    @TableField(exist = false)
    private String departmentName;//单位名称
    @ExcelProperty(index = 2, value = "姓名")
    private String name; // 姓名
    @ExcelProperty(index = 3, value = "人员类别")
    private String personnelCategory; // 人员类别
    private Integer gender;//性别
    @ExcelProperty(index = 4)
    @TableField(exist = false)
    private String genderText;//性别
    @ExcelProperty(index = 5, value = "年龄")
    private Integer age; // 年龄
    @ExcelProperty(index = 6, value = "体重")
    private String weight; // 体重
    @ExcelProperty(index = 7, value = "身高")
    private String height; // 身高
    @ExcelProperty(index = 8, value = "BMI")
    private String bmi; // BMI
    @ExcelProperty(index = 9, value = "体型评定")
    private String shape; // 体型评定
    @ExcelProperty(index = 10, value = "仰卧起坐个数")
    private Integer sitUpsNumber; // 仰卧起坐个数
    @ExcelProperty(index = 11, value = "仰卧起坐分数")
    private String sitUpsFraction; // 仰卧起坐分数
    @ExcelProperty(index = 12, value = "蛇形跑时间")
    private String snakeRunTime; // 蛇形跑时间
    @ExcelProperty(index = 13, value = "蛇形跑成绩")
    private String snakeRunFraction; // 蛇形跑成绩
    @ExcelProperty(index = 14, value = "3000米时间")
    private String threeTime; // 三个时间
    @ExcelProperty(index = 15, value = "3000米分数")
    private String threeFraction; // 三个分数
    @ExcelProperty(index = 16, value = "平行杠分数")
    private String parallelBarsFraction; // 平行杠分数
    @ExcelProperty(index = 17, value = "木马分数")
    private String trojanHorseFraction; // 木马分数
    @ExcelProperty(index = 18, value = "负重组合练习")
    private String loadCombination; // 负重组合练习
    @ExcelProperty(index = 19, value = "负重组合练习分数")
    private String loadCombinationFraction; // 负重组合练习分数
    @ExcelProperty(index = 20, value = "专项评定")
    private String specialOverallEvaluation; // 专项评定
    @ExcelProperty(index = 21, value = "成绩评定")
    private String personalScoreEvaluation; // 成绩评定
    @ExcelProperty(index = 22, value = "总分数")
    private String totalScore; // 总分数
    @ExcelProperty(index = 23, value = "成绩等级")
    private String gradeLevel; // 成绩等级

    private Timestamp createTime; // 创建时间

    private Timestamp updateTime; // 更新时间
}
